/**
 * 
 */
package com.mindtree.vi.dbaccess.manager;

import java.util.List;
import java.util.Map;

/**
 * @author venkatesh
 * 
 */
public interface TableManager<T> {

	T find(Class<? extends T> clazz, long id);

	T save(T id);

	T update(T id);

	T delete(long id);

	List<? extends T> findAll();

	List<? extends T> find(String query);

	List<T> find(String query, Map<String, Object> parameterMap);

}
